package cn.example.backstage.appointment.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AppointmentVO {
    @ApiModelProperty(value = "用户id")
    private Long id;
    @ApiModelProperty(value = "患者姓名")
    private String name;
    @ApiModelProperty(value = "就诊卡号")
    private String cardId;
    @ApiModelProperty(value = "身份证号")
    private String identityCard;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "挂号科室")
    private String department;
    @ApiModelProperty(value = "挂号类型")
    private String type;
    @ApiModelProperty(value = "挂号费")
    private Double price;
    @ApiModelProperty(value = "挂号状态")
    private String status;
    @ApiModelProperty(value = "就诊日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date treatmentDate;
    @ApiModelProperty(value = "候诊时间")
    private String treatmentTime;
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date appointmentTime;
}
